#ifndef BOOK_H
#define BOOK_H
#include <string>
#include"Author.h"
using namespace std;
class Book
{
private:
	string name;
	Author author;
	double price;
	int qtyInStock;
public:
	Book(string name, Author author, double price, int qtyInStock = 0);
	string getName() const;
	Author getAuthor() const;
	void setPrice(double price);
	double getPrice() const;
	int getQtyInStock() const;
	void setQtyInStock(int qtyInStock);
	void print() const;
	string getAuthorName() const;
};
#endif